﻿using FMStudio.Domain.Properties;
using System.ComponentModel.DataAnnotations;

namespace FMStudio.Domain
{
    public interface ICity
    {
        [Required(ErrorMessageResourceName = "CityNameMandatory", ErrorMessageResourceType = typeof(Resources))]
        [StringLength(100, ErrorMessageResourceName = "CityNameMaxLength", ErrorMessageResourceType = typeof(Resources))]
        string Name { get; set; }
    }
}
